package com.wdb007.venus.svc.biz.sys;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;

import com.wdb007.venus.svc.dal.sys.dao.ConfigInfoDAO;
import com.wdb007.venus.svc.facade.ConfigService;

@Service("configService")
public class ConfigServiceImpl implements ConfigService {

	@Autowired
	private ConfigInfoDAO configInfoDAO;
	@Override
	public String getValue(String key) {
		if(ObjectUtils.isEmpty(key)) {
			return null ;
		}
		
		String value = configInfoDAO.getValue(key);
		return value;
	}
}
